package com.zzw.spring.aop.advice;

import java.lang.reflect.Method;
import org.springframework.aop.AfterReturningAdvice;

//后置通知
public class GreetingAfterAdvice implements AfterReturningAdvice{

	@Override
	public void afterReturning(Object returnObject, Method method, Object[] args, Object obj) throws Throwable {
		System.out.println("please enjoy yourself!");
		System.out.println("returnObject:" + returnObject + "method:" + method + "obj:" + obj);
	}

}
